package common;

import dcf.*;
import com.ChatServer.ferradm.cs.newpaltz.edu.*;

public class TextMessage extends Message {

	private String senderId;
	private String messageContent;
	
	public TextMessage(String fromSenderId, String message){
		messageContent = message;
		senderId       = fromSenderId;
	}
	
    public String getSenderId() {
    	return senderId;
    }
	
	public String getMessageContent(){
		return messageContent;
	}

}
